/**
 * Created by xuelei.kong on 2017/7/16.
 */

var showDatePicker = function (obj, type) {
    if (type === 1) {
        WdatePicker({
            maxDate: $(obj).parents('.filter-wrapper').find(".to").val(),
            onpicked: function () {
                $(obj).blur();
            }
        })
    } else {
        WdatePicker({
            minDate: $(obj).parents('.filter-wrapper').find(".from").val(),
            onpicked: function () {
                $(obj).blur();
            }
        })
    }

};
var app = new Vue({
    el: '#app',
    data: function () {
        return {
            loadingFlag:false
        }
    },
    methods: {

        setViewModel:function () {

        }

    }
});


